﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TurtleLib.ComputerCraft
{
  public partial class Monitor
  {
    internal class MonitorAccess
    {
      private Monitor _monitor;

      public MonitorAccess(Monitor monitor)
      {
        _monitor = monitor;
      }

      public void SetHost(Monitor host)
      {
        Resize(standalone_width, standalone_height);
        _monitor.SetHost(host);
      }

      public void Resize(int width, int height)
      {
        _monitor.SetSize(width, height);
      }
    }
  }
}
